Macro Select Hovering/it

Other languages:

Macro Seleziona passando il mouse.

Descrizione
Questa macro seleziona a scelta una Faccia, Bordo, Vertice passando il mouse.
PS: Per deselezionare una faccia (o altro) cliccare Pause grab e usare la procedura standard: CTRL + Click

Versione macro: 00.03b
Ultima modifica: 2020-10-28
Versione FreeCAD: All
Download: ToolBar Icon
Autore: Mario52
Autore
Mario52
Download
ToolBar Icon
Link
Versione macro
00.03b
Data ultima modifica
2020-10-28
Versioni di FreeCAD
All
Scorciatoia
Nessuna
Vedere anche
Nessuno

Descrizione

Questa macro seleziona a scelta una Faccia, Bordo, Vertice passando sopra con il mouse


Macro Select Hovering


Temporary code for external macro link. Do not use this code. This code is used exclusively by Addon Manager. Link for optional manual installation: Macro


# This code is copied instead of the original macro code
# to guide the user to the online download page.
# Use it if the code of the macro is larger than 64 KB and cannot be included in the wiki
# or if the RAW code URL is somewhere else in the wiki.

from PySide import QtGui, QtCore

diag = QtGui.QMessageBox(QtGui.QMessageBox.Information,
    "Information",
    "This macro must be downloaded from this link\n"
    "\n"
    "https://gist.githubusercontent.com/mario52a/7ebe6b3fd047441114d9d0e08ceddd63/raw/f9dea03a0327b48c76a7c3e9d7cd391b5093a8cf/Macro%2520Select%2520Hovering.FCMacro" + "\n"
    "\n"
    "Quit this window to access the download page")

diag.setWindowFlags(QtCore.Qt.WindowStaysOnTopHint)
diag.setWindowModality(QtCore.Qt.ApplicationModal)
diag.exec_()

import webbrowser 
webbrowser.open("https://gist.githubusercontent.com/mario52a/7ebe6b3fd047441114d9d0e08ceddd63/raw/f9dea03a0327b48c76a7c3e9d7cd391b5093a8cf/Macro%2520Select%2520Hovering.FCMacro")
<class="rawcodeurl"><a href="https://gist.githubusercontent.com/mario52a/7ebe6b3fd047441114d9d0e08ceddd63/raw/f9dea03a0327b48c76a7c3e9d7cd391b5093a8cf/Macro%2520Select%2520Hovering.FCMacro">raw code</a>


Macro Select Hovering

PS: Per deselezionare una faccia (o altro) cliccare Pause grab e usare la procedura standard: CTRL + Click

Utilizzo

Passare sopra agli elementi con il mouse

Section Face

Select Face → 3 number of face(s) 300.0 area total of selections 100.0 area of the latest selection

Section Edge

Select Edge → 4 number of edge(s) 40.0 length total of selections 10.0 length of the latest selection

Section Vertex

Select Vertex → 1 number of vertex(s)

Section Main

Title display info of the :

Unnamed: Box. Face6 (1.34,2.64,10.0)

Unnamed: 1 : (8 sel.) (Obj. 1, Fa. 3, Ed. 4, Ve. 1)

Info objects memorized displayed

Selected by Box

Reset Data

Reset Memo

Remove selection

(PS: if several document are open on click mouse in the 3D view remove all selection in all documents)

Quit

Pause grab/Refresh

Icone

L'icona deve essere copiata nella stessa directory della macro

The icon ToolBar Macro Select Hovering

Script

Macro_Select_Hovering.FCMacro


Versioni

ver 00.04 (11/01/2024) : add:

ver 00.03b (28/10/2020) : add print() for Python 3

ver 00.03 (26/12/2017)  : replace test with (FreeCAD.ActiveDocument.getObject(obj), sub) == False)

ver 00.02 (26/12/2017)  :

ver 00.01 (25/12/2017)  :

Vincolo

Multiple face selection to convert a shape to a solid